﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo01
{
    class Program
    {
        static void Main(string[] args)
        {
            TaskNPC npc1 = new TaskNPC("送信NPC",NPCType.task,":帮我送一封信");
            npc1.Speak();
            Console.WriteLine("\t");
            TaskNPC npc2 = new TaskNPC("杀怪NPC", NPCType.task, ":帮我杀30只怪");
            npc2.Speak();
            Console.WriteLine("\t");
            TaskNPC npc3 = new TaskNPC("采集NPC", NPCType.task, ":帮我采集一些矿石");
            npc3.Speak();
            Console.WriteLine("\t");

            ShopNPC npc4 = new ShopNPC("武器NPC",NPCType.shop,"你需要什么武器？");
            npc4.Speak();
            Console.WriteLine("\t");
            ShopNPC npc5 = new ShopNPC("材料NPC", NPCType.shop, "你需要什么材料？");
            npc5.Speak();
            Console.WriteLine("\t");
            ShopNPC npc6 = new ShopNPC("食物NPC", NPCType.shop, "你需要什么食物？");
            npc6.Speak();
            Console.WriteLine("\t");

            ShopNPC npc7 = new ShopNPC("修补NPC", NPCType.shop, "你需要修补什么？");
            npc7.Speak();
            Console.WriteLine("\t");
            ShopNPC npc8 = new ShopNPC("强化NPC", NPCType.shop, "你需要强化什么？");
            npc8.Speak();
            Console.WriteLine("\t");
            ShopNPC npc9 = new ShopNPC("打造NPC", NPCType.shop, "你需要打造什么？");
            npc9.Speak();
        }
    }
}
